package com.example.personalizededucationsystem.repository;

import com.example.personalizededucationsystem.model.StudentAssignment;
import com.example.personalizededucationsystem.model.StudentAssignmentAnswer;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface StudentAssignmentAnswerRepository extends JpaRepository<StudentAssignmentAnswer, Long> {
    List<StudentAssignmentAnswer> findByStudentAssignment(StudentAssignment studentAssignment);
}